﻿using MiniFox.Net.Models;
using MiniFox.Web;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Net.Mime;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Net
{
    /// <summary>
    /// 
    /// </summary>
    public interface IServiceSetting
    {
        /// <summary>
        /// 
        /// </summary>
        string Name { get; }
        /// <summary>
        /// 
        /// </summary>
        string Uri { get; }
        /// <summary>
        /// 
        /// </summary>
        string ContentType { get; }
        /// <summary>
        /// 
        /// </summary>
        Encoding ContentEncoding { get; }
        /// <summary>
        /// url参数
        /// </summary>    
        Dictionary<string, string> UrlParameters { get; }
        /// <summary>
        /// 请求携带的header
        /// </summary>
        Dictionary<string, string> Headers { get; }
        /// <summary>
        /// 
        /// </summary>
        int Timeout { get; }
    }
}
